package com.gateway.service.filter;

public class GatewayNotPassException extends RuntimeException {

    public GatewayNotPassException() {
    }

    public GatewayNotPassException(String message) {
        super(message);
    }

    public GatewayNotPassException(String message, Throwable cause) {
        super(message, cause);
    }

    public GatewayNotPassException(Throwable cause) {
        super(cause);
    }

    public GatewayNotPassException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public static GatewayNotPassException getInstance(String msg){
        return new GatewayNotPassException(msg);
    }
}
